﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Csharp基础作业
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void Work_One_Click(object sender, RoutedEventArgs e)
        {
            Work1.run();
        }

        private void Work_Two_Click(object sender, RoutedEventArgs e)
        {
            Work2.run();
        }

        private void Work_Three_Click(object sender, RoutedEventArgs e)
        {
            Work3.run();
        }

        private void Work_Four_Click(object sender, RoutedEventArgs e)
        {
            Work4 work4 = new Work4();
            work4.Show();
            this.Close();
        }
    }
}
